<template>
	<view class="box">
		<view class="top">
			<view class="region">
				<view class="upper">
					<view class="img-box">
						<image src="/static/other/1.png">
						</image>
					</view>
					<view class="info">
						<view class="name">niew</view>
						<view class="no">ID: 0926</view>
					</view>
				</view>
				<view class="lower">这个人好懒，什么都没有留下~</view>
			</view>
			<view class="count">
				<view class="title">
					<image src="/static/other/wx.png"></image>
					<text>余额</text>
				</view>
				<view class="val">888.00</view>
			</view>
		</view>
		<view class="menu-box">
			<view class="menu">
				<image src="/static/other/1.png"></image>
				<text>我的订单</text>
			</view>
			<view class="menu">
				<image src="/static/other/1.png"></image>
				<text>我的收藏</text>
			</view>
			<view class="menu">
				<image src="/static/other/1.png"></image>
				<text>联系我们</text>
			</view>
			<view class="menu">
				<image src="/static/other/1.png"></image>
				<text>消息中心</text>
			</view>
			<view class="menu">
				<image src="/static/other/1.png"></image>
				<text>历史记录</text>
			</view>
			<view class="menu">
				<image src="/static/other/1.png"></image>
				<text>版本更新</text>
			</view>
			<view class="menu">
				<image src="/static/other/1.png"></image>
				<text>积分商城</text>
			</view>
			<view class="menu">
				<image src="/static/other/1.png"></image>
				<text>个人中心</text>
			</view>
			<view class="menu">
				<image src="/static/other/1.png"></image>
				<text>历史记录</text>
			</view>
			<view class="menu">
				<image src="/static/other/1.png"></image>
				<text>版本更新</text>
			</view>
			<view class="menu">
				<image src="/static/other/1.png"></image>
				<text>积分商城</text>
			</view>
			<view class="menu">
				<image src="/static/other/1.png"></image>
				<text>个人中心</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				tagEle: [],
			};
		},
		onShow() {},

	};
</script>

<style lang="scss" scoped>
	.box {
		width: 100%;
		margin: auto;
		overflow: hidden;
	}

	.top {
		position: relative;
		padding-top: 100rpx;
		width: 100%;
		height: 400rpx;
	}

	.top:after {
		width: 140%;
		height: 200px;
		position: absolute;
		left: -20%;
		top: 0;
		z-index: -1;
		content: '';
		border-radius: 0 0 60% 60%;
		background-color: #426db5;
	}

	.region {
		margin-left: 150rpx;
		width: 450rpx;

		.upper {
			display: flex;
			justify-content: center;
			align-items: center;

			.img-box {
				width: 100rpx;
				height: 100rpx;

				image {
					width: 100rpx;
					height: 100rpx;
				}
			}

			.info {
				padding-left: 30rpx;
				line-height: 55rpx;
				flex-direction: column;

				.name {
					font-size: 40rpx;
					letter-spacing: 5rpx;
					color: #FFFFFF;
				}

				.no {
					font-size: 24rpx;
					letter-spacing: 2rpx;
					color: #b3dffe;
				}
			}
		}

		.lower {
			display: flex;
			justify-content: center;
			line-height: 100rpx;
			font-size: 24rpx;
			color: #b3dffe;
		}
	}

	.count {
		display: flex;
		justify-content: space-between;
		margin-top: 35rpx;
		margin-left: 200rpx;
		width: 350rpx;
		line-height: 80rpx;
		border-radius: 50rpx;
		background-color: #FFFFFF;
		box-shadow: 0rpx 3rpx 9rpx #bdbdbd;

		.title {
			width: 50%;
			display: flex;
			justify-content: center;
			align-items: center;

			image {
				width: 30rpx;
				height: 30rpx;
			}

			text {
				font-size: 30rpx;
				padding-left: 15rpx;
			}
		}

		.val {
			display: flex;
			justify-content: flex-end;
			padding-right: 50rpx;
			font-weight: bold;
			font-size: 30rpx;
			align-items: center;
			width: 50%;
			color: #426db5;
		}
	}

	.menu-box {
		margin: 0rpx 27rpx;
		display: flex;
		flex-wrap: wrap;
		box-shadow: 0rpx 1rpx 10rpx #ebebeb;

		.menu {
			display: flex;
			justify-content: center;
			align-items: center;
			width: 172rpx;
			height: 220rpx;
			border-bottom: 1rpx solid #ececec;
			flex-direction: column;

			image {
				width: 60rpx;
				height: 60rpx;
			}

			text {
				padding-top: 30rpx;
				font-size: 28rpx;
			}

		}
	}
</style>
